package com.ys.entity.report;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_report].[dbo].RE_FinanceExamine", catalog="Id")
public class ReFinanceExamine extends BaseEntity<ReFinanceExamine> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="AccountCode", nameJava="accountCode", typeDataBase="varchar")
	private String accountCode;
	@YsField(nameDataBase="AccountName", nameJava="accountName", typeDataBase="varchar")
	private String accountName;
	@YsField(nameDataBase="ExamineTime", nameJava="examineTime", typeDataBase="datetime")
	private Date examineTime;
	@YsField(nameDataBase="RealTimeFund", nameJava="realTimeFund", typeDataBase="decimal")
	private BigDecimal realTimeFund;
	@YsField(nameDataBase="YesterdayFund", nameJava="yesterdayFund", typeDataBase="decimal")
	private BigDecimal yesterdayFund;
	@YsField(nameDataBase="FundChange", nameJava="fundChange", typeDataBase="decimal")
	private BigDecimal fundChange;
	@YsField(nameDataBase="FundTurnoverChange", nameJava="fundTurnoverChange", typeDataBase="decimal")
	private BigDecimal fundTurnoverChange;
	@YsField(nameDataBase="ExamineStatus", nameJava="examineStatus", typeDataBase="tinyint")
	private Integer examineStatus;
	@YsField(nameDataBase="AccountTypeId", nameJava="accountTypeId", typeDataBase="varchar")
	private String accountTypeId;
	@YsField(nameDataBase="AccountTypeName", nameJava="accountTypeName", typeDataBase="varchar")
	private String accountTypeName;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ReFinanceExamine setId(Long id) {
		this.id = id;
		return this;
	}
	public String getAccountCode() {
		return accountCode;
	}
	public ReFinanceExamine setAccountCode(String accountCode) {
		this.accountCode = accountCode;
		return this;
	}
	public String getAccountName() {
		return accountName;
	}
	public ReFinanceExamine setAccountName(String accountName) {
		this.accountName = accountName;
		return this;
	}
	public Date getExamineTime() {
		return examineTime;
	}
	public ReFinanceExamine setExamineTime(Date examineTime) {
		this.examineTime = examineTime;
		return this;
	}
	public BigDecimal getRealTimeFund() {
		return realTimeFund;
	}
	public ReFinanceExamine setRealTimeFund(BigDecimal realTimeFund) {
		this.realTimeFund = realTimeFund;
		return this;
	}
	public BigDecimal getYesterdayFund() {
		return yesterdayFund;
	}
	public ReFinanceExamine setYesterdayFund(BigDecimal yesterdayFund) {
		this.yesterdayFund = yesterdayFund;
		return this;
	}
	public BigDecimal getFundChange() {
		return fundChange;
	}
	public ReFinanceExamine setFundChange(BigDecimal fundChange) {
		this.fundChange = fundChange;
		return this;
	}
	public BigDecimal getFundTurnoverChange() {
		return fundTurnoverChange;
	}
	public ReFinanceExamine setFundTurnoverChange(BigDecimal fundTurnoverChange) {
		this.fundTurnoverChange = fundTurnoverChange;
		return this;
	}
	public Integer getExamineStatus() {
		return examineStatus;
	}
	public ReFinanceExamine setExamineStatus(Integer examineStatus) {
		this.examineStatus = examineStatus;
		return this;
	}
	public String getAccountTypeId() {
		return accountTypeId;
	}
	public ReFinanceExamine setAccountTypeId(String accountTypeId) {
		this.accountTypeId = accountTypeId;
		return this;
	}
	public String getAccountTypeName() {
		return accountTypeName;
	}
	public ReFinanceExamine setAccountTypeName(String accountTypeName) {
		this.accountTypeName = accountTypeName;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ReFinanceExamine setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ReFinanceExamine setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ReFinanceExamine setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ReFinanceExamine reFinanceExamine(
		String accountCode,
		String accountName,
		Date examineTime,
		BigDecimal realTimeFund,
		BigDecimal yesterdayFund,
		BigDecimal fundChange,
		BigDecimal fundTurnoverChange,
		Integer examineStatus,
		String accountTypeId,
		String accountTypeName,
		Integer status
			) {
		ReFinanceExamine entity = new ReFinanceExamine();
		entity.setAccountCode(accountCode);
		entity.setAccountName(accountName);
		entity.setExamineTime(examineTime);
		entity.setRealTimeFund(realTimeFund);
		entity.setYesterdayFund(yesterdayFund);
		entity.setFundChange(fundChange);
		entity.setFundTurnoverChange(fundTurnoverChange);
		entity.setExamineStatus(examineStatus);
		entity.setAccountTypeId(accountTypeId);
		entity.setAccountTypeName(accountTypeName);
		entity.setStatus(status);
		return entity;
	}
}